import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();
        int b = sc.nextInt();
        double c = sc.nextDouble();
        double d = 0;//洛希极限
        d = (b == 0 ? 2.455 * a : 1.26 * a);
        System.out.printf("%.2f %s", d, (d < c) ? "^_^" : "T_T");
    }
}
